package com.gljx.web.service.impl;

import com.gljx.web.Entity.ActiveProcess;
import com.gljx.web.dao.ProcessMapper;
import com.gljx.web.service.ProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ProcessServiceImpl implements ProcessService {

    @Autowired
    private ProcessMapper processMapper;

    @Override
    public List<ActiveProcess> selProcessByCompany(String driving_nc_id) {
        return processMapper.selectProcessByCompany(driving_nc_id);
    }
}
